﻿#include "subclientthread.h"

#include <QtDebug>
#include "common.h"
#include <QString>

SubClientThread::SubClientThread()
{

}

void SubClientThread::run()
{   
    std::string url = QString("tcp://" + this->ip + ":" + QString::number(this->port)).toStdString();
    string topic = "PUB_MSG";
    sub_zmq(url, &client_message_call_back, topic);
}
